Dismiss
data class Dismiss(val toDismiss: (<Error class: unknown class>) -> <Error class: unknown class> = { it }, val animated: Boolean = false, val completion: () -> Unit? = null) : NavigationSpec
Dismisses the parent.
Parameters
toDismiss
Determines the UIViewController to dismiss based on the provided parent viewController.
animated
Specifies whether transition should be animated
completion
Optional function to call when dismissal has completed